package com.powerteam.model.enums;

/**
 * 资源类型
 *
 * @Author jinming.zhang
 * @Date 2021/12/1
 */
public enum ResourceTypeEnum {

    /**
     * 资源类型 1:客户 2:业务机会
     */
    RESOURCE_TYPE_CUSTOMER((byte) 1, "客户"),
    RESOURCE_TYPE_OPPORTUNITY((byte) 2, "业务机会");

    private final Byte code;
    private final String desc;

    ResourceTypeEnum(Byte code, String desc) {

        this.code = code;
        this.desc = desc;
    }

    public Byte getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
